package com.zsj.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;

/**
 * @Description:
 * @Author:
 * @Date:
 */
@RestController
public class HealthCheckController {

    @RequestMapping(value = "/", method = RequestMethod.HEAD)
    public void healthCheck(HttpServletResponse response) {
        response.setStatus(HttpServletResponse.SC_OK);
    }
}
